# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from inary.actionsapi import pythonmodules
from inary.actionsapi import inarytools
from inary.actionsapi import shelltools
from inary.actionsapi import get

WorkDir="setuptools-52.0.0"

def build():
    shelltools.system("python3 bootstrap.py")
    pythonmodules.compile(pyVer="3")


def install():
    shelltools.system("mkdir -p build/scripts-3.9")
    shelltools.system("python3 setup.py install --prefix=/usr --root={} --optimize=1 --skip-build".format(get.installDIR()))
